package com.sumfun.blog.model.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 
 * @TableName travel_checkins
 */
@TableName(value ="travel_checkins")
@Data
public class TravelCheckins implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 
     */
    private Integer userId;

    /**
     * 
     */
    private String username;

    /**
     * 
     */
    private String locationName;

    /**
     * 
     */
    private String locationAddress;

    /**
     * 
     */
    private BigDecimal latitude;

    /**
     * 
     */
    private BigDecimal longitude;

    /**
     * 
     */
    private Date checkinTime;

    /**
     * 
     */
    private Integer durationSpent;

    /**
     * 
     */
    private String weatherCondition;

    /**
     * 
     */
    private BigDecimal temperature;

    /**
     * 
     */
    private String description;

    /**
     * 
     */
    private String travelCompanions;

    /**
     * 
     */
    private String mediaUrls;

    /**
     * 
     */
    private Integer mediaCount;

    /**
     * 
     */
    private Integer likesCount;

    /**
     * 
     */
    private Integer commentsCount;

    /**
     * 
     */
    private Integer isPublic;

    /**
     * 
     */
    private String tags;

    /**
     * 
     */
    private Integer routeId;

    /**
     * 
     */
    private Date createTime;

    /**
     * 
     */
    private Date updatedTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}